package cn.tedu.egspring;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class TestWeibo {
    public static void main(String[] args) {
        ApplicationContext context=new ClassPathXmlApplicationContext("bean.xml");
        Weibo weibo = context.getBean("weiboXml", Weibo.class);
        System.out.println(weibo);

    }
}
